package com.online.usermanagesystem.utils.accessrule;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Rule {
    String owner() default "";      //拥有者

    String group() default "";      //拥有组

    String mode() default "rwrwrw"; //权限，"r"=read,"w"=write,"rwrwr-"："rw" for owner,"rw" for group,"r" for other
}
